package com.hamster.crmpre.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hamster.crmpre.pojo.CustomerVip;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Tarry
 * @create 2020/1/5 16:02
 */
@Mapper
@Repository
public interface CustomerVipMapper extends BaseMapper<CustomerVip> {

    /**
     * 查询所有人的id
     * @return
     */
    @Select("select id from customer_vip")
    List<String> selectIdList();
}
